import {Route} from '@srcTypes/route';
import {requestLogger} from '@srcMiddleware/request-logger';
import {eventCallback} from '@srcHandlers/event/event-callback';

export const eventRoutes: Route[] = [
    // 事件订阅测试
    {
        method: 'post',
        path: '/event/v1/callback',
        middleware: [requestLogger],
        handler: eventCallback,
    },
];
